package yf.mall.entity;


import lombok.Setter;
import lombok.Getter;

import java.io.Serializable;
import java.util.Date;


/**
 * 报名实体
 * 表名 sign
 *
 *
 *
 * @date Mon Oct 21 11:59:56 CST 2019
 */
@Setter
@Getter
public class SignEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Long id;
    //课程名
    private String name;
    //用户ID
    private Long userId;
    //讲堂ID
    private Long courseId;
    //
    private Long cardId;
    //ENUM-状态:"NEW-预报名","CONFIRM-确认","SIGNED-签到"
    private Integer status;
    //听课人姓名
    private String userName;
    //听课人手机
    private String phone;
    //备注
    private String remark;
    //时间
    private Date time;
    //是否激活
    private Boolean active;
    //起止时间
    Date[] times;

    public SignEntity() {

    }

    public SignEntity(String name, Long userId, Long courseId, Long cardId, Integer status, String userName, String phone, String remark, Date time,Boolean active) {
        this.name = name;
        this.userId = userId;
        this.courseId = courseId;
        this.cardId = cardId;
        this.status = status;
        this.userName = userName;
        this.phone = phone;
        this.remark = remark;
        this.time = time;
        this.active=active;
    }
}
